//
//  WBToolBarView.swift
//  GitWeibo
//
//  Created by 胡金东 on 2017/6/6.
//  Copyright © 2017年 胡金东. All rights reserved.
//

import UIKit

class WBToolBarView: UIView {
    
    var viewModel:WBStatusViewModel? {
        didSet{
            retweetedButton.setTitle(viewModel?.retweetedStr, for: .normal)
            commentButton.setTitle(viewModel?.commentStr, for: .normal)
            likeButton.setTitle(viewModel?.likeStr, for: .normal)

        }
    }

    /// - 转发
    @IBOutlet  var retweetedButton: UIButton!
    /// - 评论
    @IBOutlet  var commentButton: UIButton!
    /// - 点赞
    @IBOutlet  var likeButton: UIButton!
    

    
}
